package apt.action;

import java.util.ArrayList;

import apt.bean.RoleBean;
import apt.dao.RoleDao;

public class RoleAction {
	private String SUCCESS = "success";
	private ArrayList<RoleBean> arrRoleBeans;
	private RoleDao roleDao;
	
	public RoleAction() {
		roleDao = new RoleDao();
	}
	
	public String exeRole() {
		arrRoleBeans = roleDao.getRole();
		return SUCCESS;
	}

	public ArrayList<RoleBean> getArrRoleBeans() {
		return arrRoleBeans;
	}

	public void setArrRoleBeans(ArrayList<RoleBean> arrRoleBeans) {
		this.arrRoleBeans = arrRoleBeans;
	}
	
	

}
